<?php
class Woman extends Person {
    protected $name = '女人';
    public function success() {
        echo "<br>{$this->name} 成功时: 背后有个失败男人<br>";
    }
    public function fail() {
        echo "<br>{$this->name} 失败时：哭晕厕所<br>";
    }
}